﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

using Pibby.Core;

namespace Pibby.UI
{
	public partial class ApplicationView : UserControl
	{
		private IShowProgress _progress;

		public ApplicationView()
		{
			InitializeComponent();
		}

		public IApplicationSettings Settings
		{
			get;
			set;
		}

		void ApplicationView_Load(object sender, System.EventArgs e)
		{
			this.InitialiseUI();	
		}

		protected virtual void InitialiseUI()
		{
			/* nothing */
		}

		public void ShowProgress(IShowProgress p)
		{
			this._progress = p;
		}

		protected IShowProgress Progress
		{
			get { return this._progress; }
		}
	}
}
